<template>
	<view>
		<course v-if="pageData.style == 0" :pageData="pageData"></course>
		<studies v-if="pageData.style == 1" :pageData="pageData"></studies>
	</view>
</template>

<script>
	import course from '@/components/home/course.vue';
	import studies from '@/components/home/studies.vue';
	export default {
		components:{
			course,
			studies	
		},
		name:"courseList",
		props:['pageData'],
		data() {
			return {
				
			};
		}
	}
</script>

<style>

</style>